/*
 * Copyright 2008 M-Way Solutions
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mwaysolutions.ocm.test;

import com.mwaysolutions.ocm.OcmProperty;
import com.mwaysolutions.ocm.OcmType;

@OcmType(name = "gfr:BeanWithPrimitive")
public class BeanWithPrimitive {

	private String string;

	private Boolean objBoolean;
	private boolean primBoolean;

	private Byte objByte;
	private byte primByte;

	private Short objShort;
	private short primShort;
	
	private Integer objInt;
	private int primInt;
	
	private Long objLong;
	private long primLong;
	
	private Float objFloat;
	private float primFloat;
	
	private Double objDouble;
	private double primDouble;
	
	@OcmProperty
	public String getString() {
		return string;
	}
	public void setString(final String string) {
		this.string = string;
	}
	@OcmProperty
	public Boolean getObjBoolean() {
		return objBoolean;
	}
	public void setObjBoolean(final Boolean objBoolean) {
		this.objBoolean = objBoolean;
	}
	@OcmProperty
	public boolean isPrimBoolean() {
		return primBoolean;
	}
	public void setPrimBoolean(final boolean primBoolean) {
		this.primBoolean = primBoolean;
	}
	@OcmProperty
	public Byte getObjByte() {
		return objByte;
	}
	public void setObjByte(final Byte objByte) {
		this.objByte = objByte;
	}
	@OcmProperty
	public byte getPrimByte() {
		return primByte;
	}
	public void setPrimByte(final byte primByte) {
		this.primByte = primByte;
	}
	@OcmProperty
	public Short getObjShort() {
		return objShort;
	}
	public void setObjShort(final Short objShort) {
		this.objShort = objShort;
	}
	@OcmProperty
	public short getPrimShort() {
		return primShort;
	}
	public void setPrimShort(final short primShort) {
		this.primShort = primShort;
	}
	@OcmProperty
	public Integer getObjInt() {
		return objInt;
	}
	public void setObjInt(final Integer objInt) {
		this.objInt = objInt;
	}
	@OcmProperty
	public int getPrimInt() {
		return primInt;
	}
	public void setPrimInt(final int primInt) {
		this.primInt = primInt;
	}
	@OcmProperty
	public Long getObjLong() {
		return objLong;
	}
	public void setObjLong(final Long objLong) {
		this.objLong = objLong;
	}
	@OcmProperty
	public long getPrimLong() {
		return primLong;
	}
	public void setPrimLong(final long primLong) {
		this.primLong = primLong;
	}
	@OcmProperty
	public Float getObjFloat() {
		return objFloat;
	}
	public void setObjFloat(final Float objFloat) {
		this.objFloat = objFloat;
	}
	@OcmProperty
	public float getPrimFloat() {
		return primFloat;
	}
	public void setPrimFloat(final float primFloat) {
		this.primFloat = primFloat;
	}
	@OcmProperty
	public Double getObjDouble() {
		return objDouble;
	}
	public void setObjDouble(final Double objDouble) {
		this.objDouble = objDouble;
	}
	@OcmProperty
	public double getPrimDouble() {
		return primDouble;
	}
	public void setPrimDouble(final double primDouble) {
		this.primDouble = primDouble;
	}
	
}
